package com.telit.common.constant;


public class Constant {

    public static final String HTTP_HEADER_AUTHORIZATION = "Authorization";
    public static final String TOKEN_PREFIX = "Bearer ";

    public static final String TOKEN_TYPE = "type";
    public static final String TOKEN_PARAM = "token";

    public static final String PARAMETER_MISS_MSG_TPL = "parameter %s can not be empty";

    public static final String SYMBOL_COLON = ":";

    public static final String CHARSET_NAME_UTF_8 = "UTF-8";

    /**
     * HTTP请求方式
     */
    public static final String REQUEST_METHOD_GET = "GET";
    public static final String REQUEST_METHOD_HEAD = "HEAD";
    public static final String REQUEST_METHOD_POST = "POST";
    public static final String REQUEST_METHOD_PUT = "PUT";
    public static final String REQUEST_METHOD_PATCH = "PATCH";
    public static final String REQUEST_METHOD_DELETE = "DELETE";
    public static final String REQUEST_METHOD_OPTIONS = "OPTIONS";
    public static final String REQUEST_METHOD_TRACE = "TRACE";

    /**
     * HTTP请求协议
     */
    public static final String HTTP = "http";
    public static final String HTTPS = "https";

}
